home *** CD-ROM | disk | FTP | other *** search
- #include <SetupA4.h>
- #include "ExternalInterface.h"
- #include "DialogUtilities.h"
-
- static void maintain_buttons(DialogPtr d)
- {
- Boolean enable;
- Str255 s;
-
- ReadStrItem(d, 4, s);
- enable = (s[0] != 0);
-
- if (enable != TestDlgCtl(d, 1))
- XAbleDlgCtl(d, 1, enable);
- }
-
- pascal void main(ExternalCallbackBlock *callbacks, WindowPtr w)
- {
- long line_count;
- long line;
-
- long orig_lines, act_line;
-
- long line_start;
- long line_end;
-
- Handle text;
-
- Handle copy;
- Boolean found;
-
- Str255 search_str;
- Boolean ca